package com.ruoyi.hospital.domain.doctor;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 医生排班对象 doc_schedule
 * 
 * @author wendao
 * @date 2024-11-13
 */
public class DocSchedule extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private Integer docId;

    /** 日期 */
    @Excel(name = "星期")
    private String scheduleDay;


    @Excel
    private String scheduleDate;  //日期



    /** 删除时间 */
    private Integer deleteTime;


    /*详细的时间段*/
    private List<DocScheduleDetail> docScheduleDetailList;

    public List<DocScheduleDetail> getDocScheduleDetailList() {
        return docScheduleDetailList;
    }

    public void setDocScheduleDetailList(List<DocScheduleDetail> docScheduleDetailList) {
        this.docScheduleDetailList = docScheduleDetailList;
    }

    /** 时间段 */
/*    @Excel(name = "时间段")
    private Integer scheduleTime;
    private Integer nums;
    private Integer numsed;*/
    private String startTime;
    private String endTime;

   public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
/*
    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public Integer getNumsed() {
        return numsed;
    }

    public void setNumsed(Integer numsed) {
        this.numsed = numsed;
    }
    public void setScheduleTime(Integer scheduleTime)
    {
        this.scheduleTime = scheduleTime;
    }

    public Integer getScheduleTime()
    {
        return scheduleTime;
    }*/

    public void setDeleteTime(Integer deleteTime)
    {
        this.deleteTime = deleteTime;
    }
    public String getScheduleDate() {
        return scheduleDate;
    }

    public void setScheduleDate(String scheduleDate) {
        this.scheduleDate = scheduleDate;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDocId(Integer docId) 
    {
        this.docId = docId;
    }

    public Integer getDocId() 
    {
        return docId;
    }
    public void setScheduleDay(String scheduleDay) 
    {
        this.scheduleDay = scheduleDay;
    }

    public String getScheduleDay() 
    {
        return scheduleDay;
    }


    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("docId", getDocId())
            .append("scheduleDay", getScheduleDay())
            //.append("scheduleTime", getScheduleTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
